using System;
using System.Xml;
using System.Collections;
using MCMLXVII.Core.Common;
using MCMLXVII.Core.Common.BackEnd;
using MCMLXVII.BackEnd.Pipeline;
using MCMLXVII.BackEnd.Listeners;
using System.ServiceModel;
using MCMLXVII.BackEnd.Services.WCFService;

namespace MCMLXVII.BackEnd.Listeners
{
	/// <summary>
	/// Console listener main class
	/// </summary> 
	class ConsoleListener
	{		
		/// <summary>
		/// The main entry point for the application.
		/// The console listener hosts the web service interfases for the system actions
		/// </summary>
		[STAThread]
		static void Main(string[] args)
		{
            using (ServiceHost host = new ServiceHost(typeof(BusinessActions)))
            {                
                host.Open();                
                Console.WriteLine("Servicio levantado...");
                Console.ReadKey();
            }
		}
	}
}


